home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Applications
/
nanoInstall 1.0
/
source
/
standardputfile.cp
< prev
next >
Wrap
Text File
|
1996-07-05
|
549b
|
31 lines
#include <Finder.h>
#include <StandardFile.h>
#include <Threads.h>
#include "standardfile_.h"
#include "standardputfile.h"
standardputfile::standardputfile( ConstStr255Param prompt, short dlogID)
: standardfile( dlogID)
, the_prompt( prompt)
{
}
standardputfile::~standardputfile()
{
}
Boolean standardputfile::doIt( ConstStr255Param defaultName)
{
Point where = { -1, -1};
CustomPutFile( the_prompt, defaultName,
(StandardFileReply *)this, DLOG_ID, where,
0L, 0L,
0L, 0L,
(void *)this // Ptr yourDataPtr
);
return sfGood;
}